package cn.enjoy.design.behavior.strategy.abClass.A;

import cn.enjoy.design.behavior.strategy.abClass.B.OrderService;

/**
 * @author K
 * @date 2021/11/16 20:19
 */
public class Context<T> {

    private OrderService<T> orderService;

    public Context(OrderService<T> orderService) {
        this.orderService = orderService;
    }

    public void createOrder(T orderInfo) {
        orderService.createOrder(orderInfo);
    }

}
